package com.spt.springbootzhsx.mapper;

import com.spt.springbootzhsx.entity.Admin;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;

@Mapper
public interface AdminMapper {
    ArrayList<Admin> getAllAdmin();
    Admin getAdminByAid(Integer aid);
    int updateAdminPwd(@Param("aid") Integer aid,@Param("password") String password);
}